/**
 * Created by KFEB4 on 2017/12/10.
 * form表单一些通用的设置
 */

$(document).ready(function () {
        $("input[type='submit']").click(function () {
            $(this).attr("disabled", "disabled");
            $(this).parents('form').submit();
        });
        $("#submit").click(function () {
            $(this).attr("disabled", "disabled");
        })
    }
);